3.113 \(\int \frac{\cos ^{\frac{3}{2}}(a+b \log (c x^n))}{x} \, dx\)

Optimal. Leaf size=63 \[ \frac{2 \text{EllipticF}\left (\frac{1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )}{3 b n}+\frac{2 \sin \left (a+b \log \left (c x^n\right )\right ) \sqrt{\cos \left (a+b \log \left (c x^n\right )\right )}}{3 b n} \]

[Out]

(2*EllipticF[(a + b*Log[c*x^n])/2, 2])/(3*b*n) + (2*Sqrt[Cos[a + b*Log[c*x^n]]]*Sin[a + b*Log[c*x^n]])/(3*b*n)

________________________________________________________________________________________

Rubi [A]  time = 0.0426202, antiderivative size = 63, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {2635, 2641} \[ \frac{2 F\left (\left .\frac{1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{3 b n}+\frac{2 \sin \left (a+b \log \left (c x^n\right )\right ) \sqrt{\cos \left (a+b \log \left (c x^n\right )\right )}}{3 b n} \]

Antiderivative was successfully verified.

[In]

Int[Cos[a + b*Log[c*x^n]]^(3/2)/x,x]

[Out]

(2*EllipticF[(a + b*Log[c*x^n])/2, 2])/(3*b*n) + (2*Sqrt[Cos[a + b*Log[c*x^n]]]*Sin[a + b*Log[c*x^n]])/(3*b*n)

Rule 2635

Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> -Simp[(b*Cos[c + d*x]*(b*Sin[c + d*x])^(n - 1))/(d*n),
x] + Dist[(b^2*(n - 1))/n, Int[(b*Sin[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && Integer
Q[2*n]

Rule 2641

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ
[{c, d}, x]

Rubi steps

\begin{align*} \int \frac{\cos ^{\frac{3}{2}}\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac{\operatorname{Subst}\left (\int \cos ^{\frac{3}{2}}(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac{2 \sqrt{\cos \left (a+b \log \left (c x^n\right )\right )} \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n}+\frac{\operatorname{Subst}\left (\int \frac{1}{\sqrt{\cos (a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{3 n}\\ &=\frac{2 F\left (\left .\frac{1}{2} \left (a+b \log \left (c x^n\right )\right )\right |2\right )}{3 b n}+\frac{2 \sqrt{\cos \left (a+b \log \left (c x^n\right )\right )} \sin \left (a+b \log \left (c x^n\right )\right )}{3 b n}\\ \end{align*}

Mathematica [A]  time = 0.112796, size = 54, normalized size = 0.86 \[ \frac{2 \left (\text{EllipticF}\left (\frac{1}{2} \left (a+b \log \left (c x^n\right )\right ),2\right )+\sin \left (a+b \log \left (c x^n\right )\right ) \sqrt{\cos \left (a+b \log \left (c x^n\right )\right )}\right )}{3 b n} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[a + b*Log[c*x^n]]^(3/2)/x,x]

[Out]

(2*(EllipticF[(a + b*Log[c*x^n])/2, 2] + Sqrt[Cos[a + b*Log[c*x^n]]]*Sin[a + b*Log[c*x^n]]))/(3*b*n)

________________________________________________________________________________________

Maple [B]  time = 2.182, size = 247, normalized size = 3.9 \begin{align*} -{\frac{2}{3\,bn}\sqrt{ \left ( 2\, \left ( \cos \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}-1 \right ) \left ( \sin \left ({\frac{a}{2}}+{\frac{b\ln \left ( c{x}^{n} \right ) }{2}} \right ) \right ) ^{2}} \left ( 4\,\cos \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \left ( \sin \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{4}+\sqrt{ \left ( \sin \left ({\frac{a}{2}}+{\frac{b\ln \left ( c{x}^{n} \right ) }{2}} \right ) \right ) ^{2}}\sqrt{2\, \left ( \sin \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}-1}{\it EllipticF} \left ( \cos \left ({\frac{a}{2}}+{\frac{b\ln \left ( c{x}^{n} \right ) }{2}} \right ) ,\sqrt{2} \right ) -2\, \left ( \sin \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}\cos \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ){\frac{1}{\sqrt{-2\, \left ( \sin \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{4}+ \left ( \sin \left ({\frac{a}{2}}+{\frac{b\ln \left ( c{x}^{n} \right ) }{2}} \right ) \right ) ^{2}}}} \left ( \sin \left ({\frac{a}{2}}+{\frac{b\ln \left ( c{x}^{n} \right ) }{2}} \right ) \right ) ^{-1}{\frac{1}{\sqrt{2\, \left ( \cos \left ( a/2+1/2\,b\ln \left ( c{x}^{n} \right ) \right ) \right ) ^{2}-1}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(a+b*ln(c*x^n))^(3/2)/x,x)

[Out]

-2/3/n*((2*cos(1/2*a+1/2*b*ln(c*x^n))^2-1)*sin(1/2*a+1/2*b*ln(c*x^n))^2)^(1/2)*(4*cos(1/2*a+1/2*b*ln(c*x^n))*s
in(1/2*a+1/2*b*ln(c*x^n))^4+(sin(1/2*a+1/2*b*ln(c*x^n))^2)^(1/2)*(2*sin(1/2*a+1/2*b*ln(c*x^n))^2-1)^(1/2)*Elli
pticF(cos(1/2*a+1/2*b*ln(c*x^n)),2^(1/2))-2*sin(1/2*a+1/2*b*ln(c*x^n))^2*cos(1/2*a+1/2*b*ln(c*x^n)))/(-2*sin(1
/2*a+1/2*b*ln(c*x^n))^4+sin(1/2*a+1/2*b*ln(c*x^n))^2)^(1/2)/sin(1/2*a+1/2*b*ln(c*x^n))/(2*cos(1/2*a+1/2*b*ln(c
*x^n))^2-1)^(1/2)/b

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos \left (b \log \left (c x^{n}\right ) + a\right )^{\frac{3}{2}}}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(a+b*log(c*x^n))^(3/2)/x,x, algorithm="maxima")

[Out]

integrate(cos(b*log(c*x^n) + a)^(3/2)/x, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\cos \left (b \log \left (c x^{n}\right ) + a\right )^{\frac{3}{2}}}{x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(a+b*log(c*x^n))^(3/2)/x,x, algorithm="fricas")

[Out]

integral(cos(b*log(c*x^n) + a)^(3/2)/x, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(a+b*ln(c*x**n))**(3/2)/x,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cos \left (b \log \left (c x^{n}\right ) + a\right )^{\frac{3}{2}}}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(a+b*log(c*x^n))^(3/2)/x,x, algorithm="giac")

[Out]

integrate(cos(b*log(c*x^n) + a)^(3/2)/x, x)